package com.dms.modules.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dms.modules.community.entity.CommunityAudit;

public interface CommunityAuditService extends IService<CommunityAudit> {
    
    /**
     * 检查内容是否包含敏感词
     */
    boolean containsSensitiveWords(String content);
    
    /**
     * 创建审核记录
     */
    Long createAudit(Integer targetType, Long targetId);
    
    /**
     * 审核内容
     */
    boolean audit(Long id, Integer status, String reason, Long auditorId);
    
    /**
     * 获取审核状态
     */
    Integer getAuditStatus(Integer targetType, Long targetId);
} 